package server.business.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
//存储的是整个的业务（业务由多个流程组成）
@TableName("t_allbusiness")
public class Allbusiness {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String bussnessname;
    private String bussnessprocess;
    private String startposition;
    private String description;
    private String tablename;//可能是预留的属性


    @Override
    public String toString() {
        return "Allbusiness{" +
                "id=" + id +
                ", bussnessname='" + bussnessname + '\'' +
                ", bussnessprocess='" + bussnessprocess + '\'' +
                ", startposition='" + startposition + '\'' +
                ", description='" + description + '\'' +
                ", tablename='" + tablename + '\'' +
                '}';
    }

    public Allbusiness() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBussnessname() {
        return bussnessname;
    }

    public void setBussnessname(String bussnessname) {
        this.bussnessname = bussnessname;
    }

    public String getBussnessprocess() {
        return bussnessprocess;
    }

    public void setBussnessprocess(String bussnessprocess) {
        this.bussnessprocess = bussnessprocess;
    }

    public String getStartposition() {
        return startposition;
    }

    public void setStartposition(String startposition) {
        this.startposition = startposition;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTablename() {
        return tablename;
    }

    public void setTablename(String tablename) {
        this.tablename = tablename;
    }

    public Allbusiness(Integer id, String bussnessname, String bussnessprocess, String startposition, String description, String tablename) {
        this.id = id;
        this.bussnessname = bussnessname;
        this.bussnessprocess = bussnessprocess;
        this.startposition = startposition;
        this.description = description;
        this.tablename = tablename;
    }
}
